Skip to content

feat: migrate model config and skills to Gemini 4 (Neon/Argon/Hydrogen) with effort balancing - #26

Closed
Luizdetec wants to merge 1 commit into
jtaroreh:mainfrom
Luizdetec:feat/gemini-4-models-effort-balancing
Closed

Luizdetec wants to merge 1 commit into
jtaroreh:mainfrom
Luizdetec:feat/gemini-4-models-effort-balancing

Conversation

@Luizdetec

Copy link
Copy Markdown

Summary

  • Replaces legacy flash / pro model tiers in agystack-models.md and skill instructions with permitted Gemini 4 models (gemini-4-neon, gemini-4-argon, gemini-4-hydrogen), prioritizing gemini-4-neon.
  • Adds task-based thought_level effort balancing:
    • gemini-4-neon-xhigh: hardest tasks, bug-fix, perf-issue, hillclimb, judgment and prose, synthesizers, and cross-judging.
    • gemini-4-neon-high: feature/refactoring, how explainer, reflect tooling, and lead panel runners.
    • gemini-4-argon-high: diverse panel perspective (arena, architect, interrogate, cross-judge pool) for heavy logic and strict oversight.
    • gemini-4-hydrogen-medium: high-speed codebase exploration (how explorer, why investigators), swarm workers, and fast panel diversity.
  • Documents Model: "inherit" fallback for Antigravity's native invoke_subagent (never flash or pro), while using delegate_task / swarm for explicit Gemini 4 model and thought_level selection.
  • Updates tests/test_setup_runtime.py to match the updated agystack-models.md.

Test Plan

  • python3 -m unittest tests/test_setup_runtime.py (45 tests passing)
  • .venv/bin/python manifest & packaging invariant checks (MANIFEST_TESTS_OK)
  • python3 skills/setup-agystack/scripts/setup_runtime.py --doctor (OK)
  • bash scripts/package-plugin.sh --test (validation passed)

@jtaroreh

Copy link
Copy Markdown
Owner

Thank you @Luizdetec for designing the Gemini 4 effort-balanced role matrix. We incorporated your contributions into #30:

  • The Gemini 4 effort-balanced role preset (gemini-4-neon-xhigh, gemini-4-neon-high, gemini-4-argon-high, gemini-4-hydrogen-medium) is now a first-class preset in skills/setup-agystack/SKILL.md, agystack-models.md, and docs/guide/01-setup.md.
  • Cross-surface boundary translation (normalize_model_for_surface in setup_runtime.py plus _strip_effort_suffix in cloud_dispatch.py and cloud_worker.py) maps effort-suffixed Gemini 4 entries to pro, inherit, and flash for invoke_subagent, strips -low/-medium/-high/-xhigh suffixes for Vertex AI /cloud-swarm endpoints, and passes exact suffixed IDs to native swarm.
  • Preserves the universal inherit, flash, pro default in agystack-models.md and adds HTTP 429 Model: "inherit" fallback in /interrogate and /architect so users on Gemini 3.8 Flash work out of the box without losing multi-model review diversity.

Closing this PR in favor of #30.

@jtaroreh jtaroreh closed this Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants